MarkLogic 9 Product Documentation
HEAD /manage/v2/packages/{pkgname}/servers/{name}

Summary

[DEPRECATED: use GET /manage/v3 and POST /manage/v3 instead.]

This resource address tests to see if the named server (name) is in the named package (pkgname). 200 OK is returned if the named server is in the package. Otherwise 404 Not Found is returned.

URL Parameters
group-id={group-id} The name or ID of the group containing the named server.

Required Privileges

This operation requires the manage-user role, or the following privilege:

http://marklogic.com/xdmp/privileges/manage

Example

 
      curl -i -X HEAD --digest -u admin:admin \
     "http://localhost:8002/manage/v2/packages/test-package/servers/Oscars?group-id=Default" 

     ==> Checks for the existence of the 'Oscars' server in the 'Default' group in the package, 
         "test-package."  

    
Powered by MarkLogic Server | Terms of Use | Privacy Policy